ci: use `fcosKola` for running kola tests
authorJonathan Lebon <jonathan@jlebon.com>
Fri, 13 Mar 2020 18:35:53 +0000 (14:35 -0400)
committerJonathan Lebon <jonathan@jlebon.com>
Fri, 13 Mar 2020 18:35:53 +0000 (14:35 -0400)
We were using `--no-test-exit-error` for upgrade tests but weren't
actually checking for test failures after.

Instead of running kola directly, just use the `fcosKola` custom step
which automatically takes care of e.g. running tests in parallel and
archiving results.

.cci.jenkinsfile

index a83adeea7f1a510f1dc97f6c66f8a15cf0997f24..eaa976f5e1683a8c4d0ae8f39a4e4b65c3c4fa98 100644 (file)
@@ -77,20 +77,7 @@ parallel fcos: {
         coreos-assembler build
       """)
     }
-    stage("FCOS basic") {
-      timeout(time: 30, unit: 'MINUTES') {
-        shwrap("cosa kola run --basic-qemu-scenarios")
-      }
-    }
-    stage("FCOS upgrades") {
-      timeout(time: 30, unit: 'MINUTES') {
-        shwrap("""
-          cosa kola --upgrades --no-test-exit-error
-          tar -cf - tmp/kola-upgrade | xz -c9 > kola-run-upgrade.tar.xz
-          """)
-        archiveArtifacts "kola-run-upgrade.tar.xz"
-      }
-    }
+    fcosKola("${env.WORKSPACE}")
   }
 },
 buildopts: {